import { get, post } from './helpers'

// const getSellers = get('api/seller') //获取商家信息
// const getGoods = get('rookie202/shop/goods/category/all') //获取商品信息
const getGoodsLists = get('rookie202/shop/goods/list') //获取商品
const postGoodsDetail = post('rookie202/shop/goods/detail?id=', []) //获取商品

const getGoods = {
  "code": 0,
  "data": [
    {
      "id": 243519,
      "isUse": true,
      "key": "",
      "level": 1,
      "name": "人气Top",
      "paixu": 0,
      "pid": 0,
      "remark": "",
      "shopId": 0,
      "type": "",
      "userId": 38404
    },
    {
      "id": 243520,
      "isUse": true,
      "level": 1,
      "name": "大师咖啡",
      "paixu": 0,
      "pid": 0,
      "remark": "WBC（世界咖啡师大赛）冠军团队拼配",
      "shopId": 0,
      "userId": 38404
    },
    {
      "id": 243521,
      "isUse": true,
      "level": 1,
      "name": "瑞纳冰",
      "paixu": 0,
      "pid": 0,
      "remark": "年轻夏日 就要喝瑞纳冰",
      "shopId": 0,
      "userId": 38404
    },
    {
      "id": 243522,
      "isUse": true,
      "level": 1,
      "name": "经典饮品",
      "paixu": 0,
      "pid": 0,
      "shopId": 0,
      "userId": 38404
    },
    {
      "id": 243523,
      "isUse": true,
      "level": 1,
      "name": "健康轻食",
      "paixu": 0,
      "pid": 0,
      "remark": "",
      "shopId": 0,
      "userId": 38404
    },
    {
      "id": 243524,
      "isUse": true,
      "level": 1,
      "name": "鲜榨果蔬汁",
      "paixu": 0,
      "pid": 0,
      "shopId": 0,
      "userId": 38404
    }
  ],
  "msg": "success"
}

export {
  // getSeller,
  getGoods,
  getGoodsLists,
  postGoodsDetail
}